package com.techstar.mqttprocesser.service.mqtt.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lilei
 * @create 2025-03-28-2025/3/28
 */
@Data
@TableName("MQTT_JSON_DATA_MODEL")
public class MqttJsonDataModel {

    @TableField("DEVICE_NAME")
    private String deviceName;

    @TableField("TOPIC")
    private String topic;

    @TableField("FIELD")
    private String field;

    @TableField("VALUE")
    private String value;

    @TableField("DATA_TIME")
    private LocalDateTime dataTime;

}
